using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint.Workflow;

namespace Moss.Workflow.Activities
{
    /// <summary>
    /// This is a class to pass back the Before and After properties to
    /// the calling workflow so it can take approriate action
    /// </summary>

    [Serializable()]
    class NotificationEventArgs : EventArgs
    {
        #region Private Variables
        private string body = "";
        private SPWorkflowTaskProperties taskProperties;
        #endregion

        #region Public Properties
        public string Body
        {
            get
            {
                return this.body;
            }
            set
            {
                this.body = value;
            }
        }
        public SPWorkflowTaskProperties TaskProperties
        {
            get
            {
                return this.taskProperties;
            }
            set
            {
                this.taskProperties = value;
            }
        }
        #endregion

        #region CTOR
        public NotificationEventArgs(SPWorkflowTaskProperties taskProps)
        {
            this.taskProperties = taskProps;
        }
        #endregion
    }
}
